#@web_layout?()
#define css()
<link rel="stylesheet" type="text/css" href="#(contextPath)/assets/front/web/css/layer.css?#(getUUID())" />
<link rel="stylesheet" type="text/css" href="#(contextPath)/assets/front/web/css/index.css?#(getUUID())" />
#end
#define content()

###增加回车监听登录提交事件
<form id="loginForm">
	<div class="c-login aui-content">
	    <div class="g-panel">
	        <div class="m-title"></div>
	        <div class="m-box">
	            <div class="u-field">
	                <div class="u-field-icon f-icon-phone"></div>
	                <input type="text" name="mobile" id="mobile" class="u-field-input" placeholder="请输入手机号" maxlength="11"/>
	            </div>
	            <div class="u-field">
	                <div class="u-field-icon f-icon-password"></div>
	                <input type="password" name="password" id="password" class="u-field-input" placeholder="请输入密码" maxlength="32"/>
	            </div>
	            <div class="u-link">
	                <a class="u-link-forget" href="#(contextPath)/forget" style="color:#fff;">忘记密码?</a>
	                <a class="u-link-register" href="#(contextPath)/register">注册</a>
	            </div>
	            <div class="u-btn" onclick="submit(this)">
	                <div class="u-btn-login" ></div>
	            </div>
	        </div>
	    </div>
	</div>
</form>
#end
#define script()
<script type="text/javascript">
    var ctx="#(contextPath)";
</script>
<script type="application/javascript" data-main="#(contextPath)/assets/front/web/script/index" src="#(contextPath)/assets/front/web/script/require.js"></script>
#end